package top.gohigh.springboot.dao;

import org.springframework.data.repository.CrudRepository;
import top.gohigh.springboot.model.User;

public interface UserDao extends CrudRepository<User,Long> {

    User findUserByUserName(String username);
    User findUserByUserNameAndPassword(String username,String password);
}
